package com.chenfan.mcn.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.chenfan.mcn.extension.log.FieldDesc;
import com.chenfan.mcn.model.base.BaseSaveEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 红人开票抬头
 * </p>
 *
 * @author lizhejin
 * @since 2021-12-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("star_billing_header")
public class StarBillingHeader extends BaseSaveEntity {

    private static final long serialVersionUID = -5365830200735549187L;

    /**
     * 红人id
     */
    private Long starId;

    /**
     * 抬头名称
     */
    @FieldDesc(value = "抬头名称")
    private String headerName;

    /**
     * 纳税人识别号
     */
    @FieldDesc(value = "纳税人识别号")
    private String taxpayerIdentificationNumber;

    /**
     * 开票地址
     */
    @FieldDesc(value = "开票地址")
    private String billingAddress;

    /**
     * 开票电话
     */
    @FieldDesc(value = "开票电话")
    private String billingPhone;

    /**
     * 开户行
     */
    @FieldDesc(value = "开户行")
    private String accountsBank;

    /**
     * 账号
     */
    @FieldDesc(value = "账号")
    private String accountNumber;

    /**
     * 备注
     */
    @FieldDesc(value = "备注")
    private String remark;

    /**
     * 启用状态(0-启用，1-禁用)
     */
    @FieldDesc(value = "启用状态", replace = {"启用_0", "禁用_1"})
    private Integer isEnable;

}
